Programming with QuickTime VR

| Previous | Chapter contents | Chapter top | Section top | Next |

QTVRGetViewCenter

You can use the QTVRGetViewCenter function to get the view center of a QuickTime VR movie.

OSErr QTVRGetViewCenter (QTVRInstance qtvr, QTVRFloatPoint *viewCenter);
qtvr
An instance of a QuickTime VR movie.
viewCenter
On entry, a pointer to a QTVRFloatPoint structure. On exit, that structure contains the current view center of the specified movie.
function result
A result code.

DESCRIPTION

The QTVRGetViewCenter function returns, in the QTVRFloatPoint structure pointed to by the viewCenter parameter, the x and y coordinates of the current view center of the QuickTime VR movie specified by the qtvr parameter.

SPECIAL CONSIDERATIONS

QTVRGetViewCenter is valid only for object nodes.

SEE ALSO

Use QTVRSetViewCenter (next) to set the view center of a movie.


© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |